package com.bailong.nanny.entity;



import com.bailong.nanny.util.Column;

import java.io.Serializable;

public class User implements Serializable {

    private static final long serialVersionUID = 1L;



    @Column(name = "user_id")
    private int user_id;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    private String username;
    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }


    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    private String realName;
    private String address;
    private String tel;

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    private String pic;

    public User(int user_id,String username, String realName, String address, String tel,String pic) {
        this.user_id = user_id;
        this.username = username;
        this.realName = realName;
        this.address = address;
        this.tel = tel;
        this.pic = pic;
    }
    public User(){}

    @Override
    public String toString() {
        return "User{" +
                ", username='" + username + '\'' +
                ", realName='" + realName + '\'' +
                ", address='" + address + '\'' +
                ", tel='" + tel + '\'' +
                '}';
    }
}
